<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>公共嵌套模板</title>
</head>
<body>

<th:block th:fragment="baseJsCss">
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">

    <link rel="shortcut icon" href="/static/favicon.ico"/>
    <link rel="stylesheet" href="/static/plugins/pace/themes/custom/green/pace-theme-center-atom.css">
    <link rel="stylesheet" href="/static/lay/layui/css/layui.css?v=1.1" media="all">
    <link rel="stylesheet" href="/static/lay/style/zmn.lay.extend.css?v=1.1" media="all">
    <link rel="stylesheet" href="/static/lay/style/admin.css?v=1.2" media="all">
    <link rel="stylesheet" href="//img1.xiujiadian.com/static/common/styles/common.min.css">
    <link rel="stylesheet" href="/static/lay/style/formSelects-v4.css?v=1.2" media="all">

    <script src="/static/lay/layui/layui.js?v=1.1"></script>
    <script src="/static/js/zmn.lay.js?v=0403"></script>
    <script src="/static/js/zmn.lay.util.js?v=1.1"></script>
    <script src="/static/lay/layui/formSelects-v4.js?v=1.1"></script>
    <script src="/static/js/numberPrecision.js?v=1.1"></script>
    <!--<script src="/js/zmn.echarts.js"></script>-->

    <!--<script th:src="|${session.RES.value}/static/js/common/zmn.lay.config.min.js|"></script>-->
    <script src="//img1.xiujiadian.com/static/common/layui/zmn.layui.config.js"></script>
    <script>
        document.domain = "xiujiadian.com";
        var webApp = {
            version: '20210821'
        }
    </script>

    <style type="text/css">

        .layui-form-required:after {
            content: none;
        }

    </style>

</th:block>

<th:block th:fragment="baseJsCss2">
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">

    <script>document.domain = 'xiujiadian.com'</script>
    <link rel="shortcut icon" th:href="${ZMN_URL_ENV}+'res.xiujiadian.com/static/favicon.ico'"/>


    <link rel="stylesheet" th:href="${ZMN_URL_ENV}+'res.xiujiadian.com/static/lay/layui/css/layui.min.css'">
    <link rel="stylesheet" th:href="${ZMN_URL_ENV}+'res.xiujiadian.com/static/lay/style/admin.min.css?v=1.0'">
    <link rel="stylesheet" th:href="${ZMN_URL_ENV}+'res.xiujiadian.com/static/js/extends/treeTable/treeTable.css'">
    <script th:src="${ZMN_URL_ENV}+'res.xiujiadian.com/static/lay/layui/layui.min.js?v=1.2'"></script>
    <script th:src="${ZMN_URL_ENV}+'res.xiujiadian.com/static/js/common/zmn.lay.min.js?v=1.3'"></script>
    <script th:src="${ZMN_URL_ENV}+'res.xiujiadian.com/static/js/common/zmn.lay.config.min.js?v=1.2'"></script>

    <link rel="stylesheet" href="/static/plugins/pace/themes/custom/green/pace-theme-center-atom.css">

    <link rel="stylesheet" href="/static/lay/style/zmn.lay.extend.css?v=1.1" media="all">

    <link rel="stylesheet" href="//img1.xiujiadian.com/static/common/styles/common.min.css">
    <link rel="stylesheet" href="/static/lay/style/formSelects-v4.css?v=1.2" media="all">

    <script src="/static/js/numberPrecision.js?v=1.1"></script>

    <style type="text/css">
        .layui-form-required:after {
            content: none;
        }
    </style>
    <script>
        document.domain = "xiujiadian.com";
        var webApp = {
            version: '20210821'
        }
    </script>
</th:block>

<th:block th:fragment="jscss2">
    <script th:inline="javascript">
        window.paceOptions = {
            restartOnRequestAfter: false
        };

        var SYS_BASE_URL_ENUM = {
            oms: [[${session.OMS.value}]]
        };
    </script>
    <script src="/static/plugins/pace/pace.js"></script>
    <th:block th:replace=":: baseJsCss2"/>
</th:block>

<!-- jscss -->
<th:block th:fragment="jscss">
    <script th:inline="javascript">
        window.paceOptions = {
            restartOnRequestAfter: false
        };

        var SYS_BASE_URL_ENUM = {
            oms: [[${session.OMS.value}]]
        };
    </script>
    <script src="/static/plugins/pace/pace.js"></script>
    <th:block th:replace=":: baseJsCss"/>
</th:block>

<!-- nav-menu -->
<div th:fragment="nav-menu">
    <li class="selected"><a href="http://plat.zmn.cn/" target="_blank">平台管理</a></li>
    <li><a href="http://oms.zmn.cn/" target="_blank">OMS</a></li>
    <li><a href="http://crm.zmn.cn/" target="_blank">CC/CRM</a></li>
    <li><a href="http://scm.zmn.cn/" target="_blank">SCM</a></li>
</div>

<!-- menu -->
<div th:fragment="menu">

    <!-- 主页 -->
    <li data-name="home" class="layui-nav-item layui-nav-itemed">
        <a href="javascript:;" lay-tips="主页" lay-direction="2">
            <i class="layui-icon layui-icon-home"></i>
            <cite>主页</cite>
        </a>
        <!--<dl class="layui-nav-child">
            <dd data-name="console" class="layui-this">
                <a lay-href="/static/home/console.html">控制台</a>
            </dd>
        </dl>-->
    </li>

    <th:block th:if="true">
        <!--        <li data-name="set" class="layui-nav-item" th:if="${#authPermit.checkMenuPermit('/engineer/all')}">-->
        <li data-name="set" class="layui-nav-item">

            <!-- 订单配置 -->
            <dl class="layui-nav-child show">
                <dd data-name="button"
                    th:if="${#authPermit.checkMenuPermits(false, '/orderconfig/*.action')}">
                    <a href="javascript:;" lay-direction="2">
                        <i class="layui-icon layui-icon-set-fill"></i>
                        <cite>订单配置</cite>
                    </a>
                    <dl class="layui-nav-child">

                        <!--黑名单-->
                        <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/blacklist/*.action')}">
                            <a href="javascript:;">下单黑名单</a>
                            <dl class="layui-nav-child">
                                <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/blacklist/list.action')}">
                                    <a lay-href="/blacklist/list.action?blacklistType=1">IP黑名单</a>
                                </dd>
                                <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/blacklist/list.action')}">
                                    <a lay-href="/blacklist/list.action?blacklistType=2">用户ID黑名单</a>
                                </dd>
                                <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/blacklist/list.action')}">
                                    <a lay-href="/blacklist/list.action?blacklistType=3">手机号黑名单</a>
                                </dd>
                            </dl>
                        </dd>
                        <!--白名单-->
                        <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/whitelist/*.action')}">
                            <a href="javascript:;">下单白名单</a>
                            <dl class="layui-nav-child">
                                <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/whitelist/list.action')}">
                                    <a lay-href="/whitelist/list.action?whitelistType=1">IP白名单</a>
                                </dd>
                                <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/whitelist/list.action')}">
                                    <a lay-href="/whitelist/list.action?whitelistType=2">用户ID白名单</a>
                                </dd>
                                <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/whitelist/list.action')}">
                                    <a lay-href="/whitelist/list.action?whitelistType=3">手机号白名单</a>
                                </dd>
                            </dl>
                        </dd>
                    </dl>
                </dd>
            </dl>

            <!-- 系统安全 -->
            <dl class="layui-nav-child show">
                <dd data-name="button"
                    th:if="${#authPermit.checkMenuPermit('/brs/*.action')}">
                    <a href="javascript:;" lay-direction="2">
                        <i class="layui-icon layui-icon-set"></i>
                        <cite>系统安全</cite>
                    </a>

                    <dl class="layui-nav-child">
                        <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/brs/record/list.action')}">
                            <a lay-href="/brs/record/list.action">安全监控</a>
                        </dd>
                        <!--业务监控-->
                        <dd data-name="button"
                            th:if="${#authPermit.checkMenuPermit('/brs/business/record/list.action')}">
                            <a href="javascript:;">业务监控</a>
                            <dl class="layui-nav-child">
                                <dd data-name="list"
                                    th:if="${#authPermit.checkMenuPermit('/brs/record/objective/list.action')}">
                                    <a lay-href="/brs/record/objective/list.action">绩效监控数据</a>
                                </dd>
                                <dd data-name="list"
                                    th:if="${#authPermit.checkMenuPermit('/brs/record/order/list.action')}">
                                    <a lay-href="/brs/record/order/list.action">订单监控数据</a>
                                </dd>
                                <dd data-name="list"
                                    th:if="${#authPermit.checkMenuPermit('/brs/record/engineer/list.action')}">
                                    <a lay-href="/brs/record/engineer/list.action">工程师监控数据</a>
                                </dd>
                            </dl>
                        </dd>
                        <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/brs/scene/list.action')}">
                            <a lay-href="/brs/scene/list.action">监控配置</a>
                        </dd>
                        <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/ding/group/robot/list.action')}">
                            <a lay-href="/ding/group/robot/list.action">钉钉群配置</a>
                        </dd>
                    </dl>
                </dd>
            </dl>
        </li>
    </th:block>
</div>

</body>
</html>
